package com.guigu.community.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("Quote")
public class Quote {
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Integer id;

    @TableField("product_id")
    private Integer productId;

    @TableField("product_offer")
    private float productOffer;

    @TableField("category_id")
    private Integer categoryId;

    @TableField("user_id")
    private Integer userId;

    @TableField("is_sell_status")
    private Integer isSellStatus;

    private String remark;

    @TableField(exist = false)
    private List<Users> users;

    @TableField(exist = false)
    private List<Products> products;

    @TableField(exist = false)
    private List<ProductCategory> productCategory;
    
}